﻿package com.firewolf.observer.main;

import com.firewolf.observer.impl.CurrentConditionDisplay;
import com.firewolf.observer.impl.WeatherData;

/**
 * @author liuxing0
 * @function 观察者模式主函数
 * @createtime 2014-8-20
 */
public class ObserverMain {
	public static void main(String[] args) {
		WeatherData weatherData = new WeatherData();
		@SuppressWarnings("unused")
		CurrentConditionDisplay conditionDisplay = new CurrentConditionDisplay(weatherData);
		weatherData.setMeasurements(45.1f, 100.3f, 30.5f);
	}
}
